<?php
class navigation{
	
	var $navs = array(
			'' 						=> lang_index,
			'index' 				=> lang_index,
			'login' 				=> lang_login,
			'reg' 					=> lang_reg,
			'mylist' 				=> lang_my_works,
			'reg' 					=> lang_reg,			
			'admin.indexCommend'	=> '上传首页推荐图片',
			'comments'				=> lang_comment,
			'designList'			=> '',
			'favorites'				=> lang_my_favorites,
			'getMedia'				=> '',
			'homeEdit'				=> lang_edit_user_info,
			'homeEditAccoun'		=> lang_edit_user_account ,
			'list'					=> '作品列表',
			'fileManage'			=> '作品管理',
			
			'rePassword'			=> '忘记密码',
			'reSetPassWord'			=> '重置密码',
			
			'search'				=> lang_search,
			'show'					=> '',
			'showIframe'			=> '',
			'task'					=> lang_task,
			'taskAdd'				=> lang_creat_task,
			'taskAssess'			=> '',
			'taskAttend'			=> lang_view_contribute_works,
			'taskAttendShow'		=> '查看得分',			
			'taskInvite'			=> lang_send_assess_invite,
			'taskInviteList'		=> '已发出的邀请列表',
			
			'honorAdd'				=> '添加名誉',
			
			
			
			'taskManage'			=> lang_task_manage,
			'upload'				=> lang_upload,
			'userLock'				=> '您的账户已被管理员锁定',

			'userMenu'				=> '用户菜单',
			'serviceClause'			=> lang_service_clause,
			'forgetPass'			=> lang_input_username,
			
			'admin.comment'			=> lang_comment ,
			'admin.userManage'		=> '用户管理',
			'admin.sysManage'		=> '系统管理'
	);
	
	function getList(){
		global $dbs , $option ;
		$navs = $this -> navs ;
		$html = '<a href="'.urlRewrite().'">'.lang_index.'</a> > ';
		$html .= $navs[$option] ;
		return $html;
	}
	
	function getTitle(){
		global $option;
		$navs = $this -> navs ;
		$html = $navs[$option] ;
		return $html;
	}
	
	
	
	 
	
}
?>